package com.yutao.domain;

import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class PoolPlayer {
    private int score;
    private String uuid,username,photo,channel_name;
    private int waitingTime = 0;

    public PoolPlayer(int score, String uuid, String username, String photo, String channel_name) {
        this.score = score;
        this.uuid = uuid;
        this.username = username;
        this.photo = photo;
        this.channel_name = channel_name;
    }

    public void increaseWaitingTime(){
        waitingTime+=1;
    }
}
